package com.gdit.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.gdit.comm.enums.Relation;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *
 * 学生家长
 *
 * @author fgba
 * @since 2021-09-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_student_guard")
@ApiModel(value="StudentGuard对象", description="")
public class StudentGuard implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;

    private String guardId;

    private String studentId;

    @ApiModelProperty(value = "关系")
    private Relation relation;

    @ApiModelProperty(value = "是否同住")
    private Integer live;


}
